Skip to content

Remote smtp interface (rewrite of #245)#310

Open
runout-at wants to merge 3 commits into
vexim:masterfrom
runout-at:remote_smtp_interface
Open

Remote smtp interface (rewrite of #245)#310
runout-at wants to merge 3 commits into
vexim:masterfrom
runout-at:remote_smtp_interface

Conversation

@runout-at

@runout-at runout-at commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This is a rewrite of PR #245 as Exim has incorporated the functionality and some of the old PR is obsolete.

This is only the change in the exim config to read the outgoing IPs for a domain from the database and an update to the database create scripts.

Changes for the PHP-UI should be done in a separate PR. It's just to add one field to the domain form.
Veximpy does already use the out_ip field.
The field should contain a semicolon separated list of IPs (IPv6 and IPv4 is allowed). Veximpy runs some checks on the IPs before accepting it.

Usage is in Debian split config in transport/30_exim4-config_remote_smtp:

.ifdef REMOTE_SMTP_INTERFACE
interface = REMOTE_SMTP_INTERFACE
.endif

I did exclude my monitoring script which was included in PR #245. Reviewing should be easier now.

It is tested for years on my live server.

retrieve IPs for REMOTE_SMTP_INTERFACE from the database
add field out_ip for exim macro REMOTE_SMTP_INTERFACE
add field out_ip for exim macro REMOTE_SMTP_INTERFACE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant